package com.ruoyi.system.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 移库单对象 move_order
 * 
 * @author ruoyi
 * @date 2025-02-11
 */
public class MoveOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 移库单号 */
    @Excel(name = "移库单号")
    private String moveOrderNo;

    /** 移库类型 */
    @Excel(name = "移库类型")
    private String moveType;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditor;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 关联单号 */
    @Excel(name = "关联单号")
    private String relatedOrderNo;

    /** 制单人（登录人） */
    @Excel(name = "制单人", readConverterExp = "登=录人")
    private String createOrderUser;

    /** 备注 */
    private String remarks;

    /** 移库单明细信息 */
    private List<MoveOrderInfo> moveOrderInfoList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMoveOrderNo(String moveOrderNo) 
    {
        this.moveOrderNo = moveOrderNo;
    }

    public String getMoveOrderNo() 
    {
        return moveOrderNo;
    }
    public void setMoveType(String moveType) 
    {
        this.moveType = moveType;
    }

    public String getMoveType() 
    {
        return moveType;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setAuditor(String auditor) 
    {
        this.auditor = auditor;
    }

    public String getAuditor() 
    {
        return auditor;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setRelatedOrderNo(String relatedOrderNo) 
    {
        this.relatedOrderNo = relatedOrderNo;
    }

    public String getRelatedOrderNo() 
    {
        return relatedOrderNo;
    }
    public void setCreateOrderUser(String createOrderUser) 
    {
        this.createOrderUser = createOrderUser;
    }

    public String getCreateOrderUser() 
    {
        return createOrderUser;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public List<MoveOrderInfo> getMoveOrderInfoList()
    {
        return moveOrderInfoList;
    }

    public void setMoveOrderInfoList(List<MoveOrderInfo> moveOrderInfoList)
    {
        this.moveOrderInfoList = moveOrderInfoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("moveOrderNo", getMoveOrderNo())
            .append("moveType", getMoveType())
            .append("status", getStatus())
            .append("auditor", getAuditor())
            .append("auditTime", getAuditTime())
            .append("relatedOrderNo", getRelatedOrderNo())
            .append("createOrderUser", getCreateOrderUser())
            .append("createTime", getCreateTime())
            .append("remarks", getRemarks())
            .append("moveOrderInfoList", getMoveOrderInfoList())
            .toString();
    }
}
